﻿using System;

namespace IOA.MES.DataAccess.ReportModel
{
    /// <summary>
    /// 不良报表对象
    /// </summary>
    public class RBadReportItem
    {
        /// <summary>
        /// 组件条码
        /// </summary>
        public string BarCode { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; }

        /// <summary>
        /// 工单号
        /// </summary>
        public string WorkOrderNo { get; set; }

        /// <summary>
        /// 功率档
        /// </summary>
        public decimal PowerLevel { get; set; }

        /// <summary>
        /// 电流档
        /// </summary>
        public string CurrentLevel { get; set; }

        /// <summary>
        /// 实际功率
        /// </summary>
        public decimal Power { get; set; }

        /// <summary>
        /// 封装损耗
        /// </summary>
        public decimal PackageLoss { get; set; }

        /// <summary>
        /// EL2等级
        /// </summary>
        public string EL2Level { get; set; }

        /// <summary>
        /// EL2原因
        /// </summary>
        public string EL2Reason { get; set; }

        /// <summary>
        /// EL2位置
        /// </summary>
        public string EL2Position { get; set; }

        /// <summary>
        /// 铭牌型号
        /// </summary>
        public string NameplateModel { get; set; }

        /// <summary>
        /// 组件等级
        /// </summary>
        public string QLevel { get; set; }

        /// <summary>
        /// 组件颜色
        /// </summary>
        public string ComponentColor { get; set; }

        /// <summary>
        /// 组件类型
        /// </summary>
        public string ComponentType { get; set; }

        /// <summary>
        /// 倒角
        /// </summary>
        public string CellFeature { get; set; }

        /// <summary>
        /// 不良项
        /// </summary>
        public string BadReason { get; set; }

        /// <summary>
        /// 是否来料不良
        /// </summary>
        public bool IsMeteriaComeBad { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 操作员
        /// </summary>
        public string Operator { get; set; }

        /// <summary>
        /// 班次
        /// </summary>
        public string DutyName { get; set; }

        /// <summary>
        /// 编号
        /// </summary>
        public string No { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 外来组件
        /// </summary>
        public int ForeignComponents { get; set; }
    }
}
